// .alert
$alert-width: 12rem;
$alert-height: 2.1rem;

$alert-padding-y: 8px;
$alert-padding-x: 15px;

$alert-font-size: 0.75rem;
$alert-font-weight: $font-weight-normal;

$alert-border: $border-width solid $gray-600;

.alert {
  position: relative;
  min-width: 300px;
  height: $alert-height;
  box-sizing: border-box;
  font-size: $alert-font-size;
  font-weight: $alert-font-weight;
  @include alert-type($primary);
  padding: $alert-padding-y $alert-padding-x;
  font-variant: tabular-nums;
  font-feature-settings: 'tnum';
  border-radius: 2px;
  margin-bottom: 16px;

  .alert-title {
    @include text-overflow;
  }
  .alert-description {
    display: block;
    padding-top: 10px;
  }

  &.hide {
    display: none;
  }
}
.alert-content {
  position: relative;
  padding: 15px;
  color: rgba(0, 0, 0, 0.85);
  line-height: 1.5715;
  border-radius: 2px;
  height: auto;
}
.closeabled {
  position: absolute;
  display: inline;
  top: 0;
  right: 3px;
  padding: 5px;
  cursor: pointer;
}
.alert-close-icon {
  padding-right: 30px;
}

.alert-success {
  @include alert-type($success);
}

.alert-danger {
  @include alert-type($danger);
}
.alert-warning {
  @include alert-type($warning);
}
